VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



a-> Disable Ctrl+Alt+Del in WinXP with ONE LINE OF CODE WORKS IN MULTIPLE LANGAUGES<--

by HyperHacker (2 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (11 Votes)

Super-simple way to disable Ctrl+Al+Del (but not Alt+Tab) in Windows XP and probably NT/2K as well. Anyone can do it, and it works in any language that lets you launch another app! How cool is that?

Rate a-> Disable Ctrl+Alt+Del in WinXP with ONE LINE OF CODE WORKS IN MULTIPLE LANGAUGES<--

While there is a good submission relating to making your app Task Manager-Proof, I haven't seen one that tells how to actually disable Ctrl+Alt+Del. In about 5 minutes I came up with a way to do it, with only one line of code, in just about any programming language! O_O



What you wanna do is launch taskmgr.exe, then hide it. For an always-on-top fullscreen form (IE a lockout screen) that should take about one line of code. In VB for example, shell "taskmgr.exe" followed by the code which makes your window always on top (which doesn't count since you were doing that anyway).



So why does just launching the Task Manager disable the 3 magic buttons? Doesn't it defeat the purpose? No. Observe: When the Task Manager is open already and you hit Ctrl+Alt+Del again, it merely brings focus to the Task Manager. But when another window of yours is on top, it keeps focus (so long as you launched Task Manager before making your program Always On Top) and the user can't access the Task Manager!




NOTE: Don't do this on Win9x/WinME. In them, when the Task Manager is open and you hit Ctrl+Alt+Del, your computer reboots. ^_^ It's not hard to disable in those anyway.

Download this snippet    Add to My Saved Code

a-> Disable Ctrl+Alt+Del in WinXP with ONE LINE OF CODE WORKS IN MULTIPLE LANGAUGES<-- Comments

No comments have been posted about a-> Disable Ctrl+Alt+Del in WinXP with ONE LINE OF CODE WORKS IN MULTIPLE LANGAUGES<--. Why not be the first to post a comment about a-> Disable Ctrl+Alt+Del in WinXP with ONE LINE OF CODE WORKS IN MULTIPLE LANGAUGES<--.

Post your comment

Subject:
Message:
0/1000 characters